#ifndef __TEST_H__
#define __TEST_H__
#include<iostream>
class Test{
	public:
		Test():m_const(0),m_p(NULL),m_num(0){}
		Test(int a):m_const(a),m_num(0){m_p=new int[a];}
		~Test();
		void search(int n);
		void traval();
		void revise(int n);
		int add(int index, int elm);
		void del(int n);
		int update(int oldElm,int newElm);
	public:
		int m_const;
		int m_num;
		int *m_p;
};
#endif
